package models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import play.db.jpa.Model;

@Entity
@Table(name= "Video")
public class Video extends Model {
	
	@Column(name="rol_name",columnDefinition="varchar(50)")
	public String vidName;//视频名称
	
	@Column(name="vid_path",columnDefinition="varchar(200)")
	public String vidPath; //视频路径
	
	@Column(name="vid_dis",columnDefinition="varchar(500)")
	public String vidDis; //视频描述
	
	public String toString(){
		return vidName;
	}
}
